libxl: suspend: Apply guest timeout in evtchn case
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 12 Dec 2013 19:17:03 +0000 (19:17 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 17 Mar 2014 15:54:00 +0000 (15:54 +0000)
commita03984e7bcdf86c997559416458cc6aebb78e9dd
treef4d8ff585dfcd9c6ea577957429e75d7b67d259c
parent0e78c452ffe86f226d72bc11db1ae11d96db9763
libxl: suspend: Apply guest timeout in evtchn case

When negotiating guest suspend via the evtchn ("fast") protocol,
the guest may still fail to respond.

So set the timeout.  The existing error path will already properly
tear down our (event channel) wait.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_dom.c